#ifndef JSCONTEXT_H
#define JSCONTEXT_H

#include <QObject>
#include <QWebEnginePage>

class JsContext : public QObject
{
    Q_OBJECT

public:
    JsContext(QObject *parent = 0);
    ~JsContext(){}

signals:
    void openNotepad(const QString& msg);

public slots:
    // 接收前端js发送来的消息
    void onRecvMsg(const QString& msg, const QString para);
};
#endif // JSCONTEXT_H
